import reducers from './reducers'
import { configureStore } from '@reduxjs/toolkit'

export const store = configureStore({
  reducer: reducers
})

export type RootState = ReturnType<typeof store.getState>
